#define X_NORMAL 1
#define Y_NORMAL 2
#define Z_NORMAL 3



void draw_surface(
	float v1x, float v1y, float v1z,
	float v2x, float v2y, float v2z,
	float v3x, float v3y, float v3z,
	float v4x, float v4y, float v4z,
	int tex_id, int normal
);

void drawRect();
void drawRect(int tex_id);
void drawRect(float v1x, float v2x, float v1y, float v2y, int tex_id);
void drawStripRect(float v1x, float v2x, float v1y, float v2y, int nstrips);
void drawStripRect(float v1x, float v2x, float v1y, float v2y, float v1z, float v2z, int nstrips);

void draw_cube(int tex[6], int floor);
void draw_skybox(int tex[6]);
void draw_board_surface(int tex, int board);
void draw_menu_message(float x, float y, char *msg);

void newellMethod(float* nx, float* ny, float* nz,
				int n, float x[], float y[], float z[]);

